import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {MatRadioModule} from '@angular/material/radio';
import {MatNativeDateModule} from "@angular/material";
import {MatTabsModule} from '@angular/material/tabs';
import {MatChipsModule} from '@angular/material/chips';
import {MatSelectModule} from '@angular/material/select';
import {MatDatepickerModule} from '@angular/material/datepicker';
import {MatTooltipModule} from '@angular/material/tooltip';
import {MatDialogModule} from '@angular/material/dialog';
import {FormsModule,ReactiveFormsModule} from "@angular/forms";
import{DirectiveModule} from "../directive/directive.module"
import {ImageListSelectComponent} from "./image-list-select/image-list-select.component"
import {
  MatToolbarModule,
  MatIconModule,
  MatButtonModule,
  MatCardModule,
  MatInputModule,
  MatListModule,
  MatAutocompleteModule,
  MatSlideToggleModule,
  MatGridListModule,
  MatCheckboxModule,
  MatButtonToggleModule,
  MatMenuModule,
} from '@angular/material';
import { ConfirmDialogComponent } from './confirm-dialog/confirm-dialog.component';
import { AgeInputComponent } from './age-input/age-input.component';
import { ChipsListComponent } from './chips-list/chips-list.component';
import { IdentityInputComponent } from './identity-input/identity-input.component';
import { AreaListComponent } from './area-list/area-list.component';
@NgModule({
  imports: [
    CommonModule,
    MatToolbarModule,
    MatIconModule,
    MatButtonModule,
    MatCardModule,
    MatInputModule,
    MatListModule,
    MatTabsModule,
    MatGridListModule,
    MatMenuModule,
    MatCheckboxModule,
    MatAutocompleteModule,
    MatSlideToggleModule,
    MatTooltipModule,
    MatDatepickerModule,
    MatDialogModule,
    MatRadioModule,
    MatNativeDateModule,
    MatSelectModule,
    FormsModule,
    MatButtonToggleModule,
    ReactiveFormsModule,
    DirectiveModule,
    MatChipsModule,
  ],
  declarations: [
    ConfirmDialogComponent,
    ImageListSelectComponent,
    AgeInputComponent,
    ChipsListComponent,
    IdentityInputComponent,
    AreaListComponent
  ],
  exports: [
    CommonModule,
    MatToolbarModule,
    MatIconModule,
    MatButtonModule,
    MatCardModule,
    MatInputModule,
    MatListModule,
    MatMenuModule,
    MatCheckboxModule,
    MatSlideToggleModule,
    MatAutocompleteModule,
    MatGridListModule,
    MatTooltipModule,
    MatDatepickerModule,
    MatRadioModule,
    MatNativeDateModule,
    MatSelectModule,
    ReactiveFormsModule,
    FormsModule,
    DirectiveModule,
    MatButtonToggleModule,
    ImageListSelectComponent,
    AgeInputComponent,
    ChipsListComponent,
    MatChipsModule,
    AreaListComponent,
    IdentityInputComponent,
    MatTabsModule,
  ],
  entryComponents: [ConfirmDialogComponent]
})
export class ShareModule { }
